package com.example.JavaWebWK5;

import java.io.Serializable;

public class DemoBean  implements Serializable {

   private String name;
   private String info;
   private int age;
   private static  String text ="Java Bean";

   public String getText(){
       return text;
   }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}

